package com.xf.tourismapp.enums;

public enum UserEnum {

	LOGIN_SUCCESS("LOGIN_SUCCESS","登录成功"),
	LOGIN_USERNAME_OR_PASSWORD_FAIL("LOGIN_USERNAME_OR_PASSWORD_FAIL","用户名或密码错误"),
	LOGIN_VALIDATAE_ERROR("LOGIN_VALIDATAE_ERROR","验证码错误"),
	LOGIN_USERNAME_IS_EMPTY("LOGIN_USERNAME_IS_EMPTY","用户名为空"),
	LOGIN_PASSWORD_IS_EMPTY("LOGIN_PASSWORD_IS_EMPTY","密码为空");
	
	private String value;
	private String desc;
	
	
	private UserEnum(String value, String desc) {
		this.value = value;
		this.desc = desc;
	}


	public String getValue() {
		return value;
	}


	public void setValue(String value) {
		this.value = value;
	}


	public String getDesc() {
		return desc;
	}


	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	
}
